-- GENERATED SPELL FOR [Corrupted Dreadmaw Crocolisk] --


function spell0_3231(pUnit, Event) --@Decayed Agility,n/a--
pUnit:FullCastSpellOnTarget(7901,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_3231', 2000, 1)
end

function Sorts_3231(pUnit, Event)
local choix_sorts_3231 = math.random(0, 0)
if choix_sorts_3231 == 0 then
pUnit:RegisterEvent('spell0_3231', 1, 1)
end
end

function mob3231_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3231', math.random(1500, 3000), 1)
end

function mob3231_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3231_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3231_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3231, 1, 'mob3231_Action')
RegisterUnitEvent(3231, 2, 'mob3231_Leave')
RegisterUnitEvent(3231, 3, 'mob3231_Kill')
RegisterUnitEvent(3231, 4, 'mob3231_Die')
